package com.hursing.tractor.model;

import com.hursing.tractor.controller.KittyController;
import com.hursing.tractor.controller.DealController;
import com.hursing.tractor.controller.PlayController;

public class ComputerPlayer extends Player {

	public ComputerPlayer(int position) {
		super(position);
	
	}

	@Override
	protected void judgeWhetherFlip(DealController dealController, Card newCard) {
		canChangeFlipAbility(newCard);
		Strategy.instance().judgeWhetherFlip(this);
	}

	@Override
	public void playCard(PlayController playController) {
		super.playCard(playController);
		doPlayCard(Strategy.instance().playCard(this, playController));
	}

	@Override
	public void buryKitty(KittyController kittyController) {
		super.buryKitty(kittyController);
		Strategy.instance().buryKitty(this);
	}	
}
